xen/sched: Remove unused-but-set variable
authorMichal Orzel <michal.orzel@arm.com>
Wed, 27 Apr 2022 09:49:38 +0000 (11:49 +0200)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Wed, 27 Apr 2022 22:21:48 +0000 (15:21 -0700)
commit4026c0d4c4811b8337b4eab3cdea7037cbfb0eb4
tree17344fc20656bbf2fc6dee0befc1bd49b160c99e
parent2845588e398d8e631f08d304e80c5f94f52c3643
xen/sched: Remove unused-but-set variable

Function schedule_cpu_add defines and sets a variable old_unit but
does not make use of it. Remove this variable.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched/core.c